System for verifying the integrity of cardiac complex templates

ABSTRACT

A method and system for verifying the integrity of normal sinus rhythm (NSR) templates and updating the NSR template after selected time intervals. At selected time intervals after establishing a NSR template, cardiac complexes are sensed and values for one or more cardiac parameters are measured. The values of the cardiac parameters are compared to predetermined value ranges for NSR cardiac complexes. When the values of the cardiac parameters fall within the predetermined value ranges, values for the differences between the values of the cardiac parameters for the cardiac complexes and the values for the cardiac parameters of the NSR cardiac complexes are calculated. When the values of the differences are greater than one or more threshold values, the NSR template is updated as a function of the sensed cardiac complexes.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. Pat. No. 11,287,631, filed on Nov. 28, 2005, now issued as U.S. Pat. No. 7,653,430, which is a divisional of U.S. Pat. No. 09/921,348, filed on Aug. 2, 2001, now issued as U.S. Pat. No. 6,996,434, which is a continuation of U.S. patent application Ser. No. 09/267,306, filed on Mar. 12, 1999, now issued as U.S. Pat. No. 6,312,388, the specifications of which are incorporated herein by reference.

FIELD OF THE INVENTION

This invention relates generally to medical devices, and more particularly to a system and method for verifying the integrity of normal sinus rhythm templates.

BACKGROUND

The heart is divided into four chambers, the left and right atrial chambers and the left and right ventricular chambers. As the heart beats, the atrial chambers and the ventricular chambers go through a cardiac cycle. The cardiac cycle consists of one complete sequence of contraction and relaxation of the chambers of the heart. The terms systole and diastole are used to describe the contraction and relaxation phases the chambers of the heart experience during a cardiac cycle. In systole, the ventricular muscle cells contract to pump blood through the circulatory system. During diastole, the ventricular muscle cells relax, causing blood from the atrial chamber to fill the ventricular chamber. After the period of diastolic filling, the systolic phase of a new cardiac cycle is initiated.

Through the cardiac cycle, the heart pumps blood through the circulatory system. Effective pumping of the heart depends upon five basic requirements. First, the contractions of cardiac muscle must occur at regular intervals and be synchronized. Second, the valves separating the chambers of the heart must fully open as blood passes through the chambers. Third, the valves must not leak. Fourth, the contraction of the cardiac muscle must be forceful. Fifth, the ventricles must fill adequately during diastole.

When the contractions of the heart are not occurring at regular intervals or are unsynchronized the heart is said to be arrhythmic. During an arrhythmia; the heart's ability to effectively and efficiently pump blood is compromised. Many different types of arrhythmias have been identified. Arrhythmias can occur in either the atrial chambers or in the ventricular chambers of the heart.

Ventricular tachycardia is an arrhythmia that occurs in the ventricular chambers of the heart. Ventricular tachycardias are typified by ventricular rates between 120-250 and are caused by disturbances (electrical or mechanical) within the ventricles of the heart. During a ventricular tachycardia, the diastolic filling time is reduced and the ventricular contractions are less synchronized and therefore less effective than normal. Ventricular tachycardias must be treated quickly in order to prevent the tachycardia from degrading into a life threatening ventricular fibrillation.

Arrhythmias that occur in the atrial chambers of the heart are referred to generally as supraventricular tachycardias. Supraventricular tachycardias include atrial tachycardias, atrial flutter and atrial fibrillation. During certain supraventricular tachycardias, aberrant cardiac signals from the atria drive the ventricles at a very rapid rate. Such a situation occurs during paroxysmal atrial tachycardia. This condition begins abruptly, lasts for a few minutes to a few hours, and then, just as abruptly, disappears and the heart rate reverts back to normal.

Cardioverter-defibrillators, such as implantable cardioverter-defibrillators (ICDs), have been shown to be effective in reducing the incidence of sudden cardiac death. Sudden cardiac death is typically caused by either ventricular tachycardia or ventricular fibrillation. Cardioverter-defibrillator systems operate by sensing and analyzing cardiac signals and applying electrical energy to the heart when either a ventricular tachycardia or ventricular fibrillation is detected.

One common way cardioverter-defibrillators detect cardiac arrhythmias is to sense and analyze the rate of ventricular contractions. When the ventricular rate exceeds a programmed threshold value, the cardioverter-defibrillator applies electrical energy in one or more specific patterns to treat either the ventricular tachycardia or ventricular fibrillation.

An additional method cardioverter-defibrillators use to detect cardiac arrhythmias is to compare the morphology of sensed cardiac complexes to template cardiac complexes representative of specific cardiac rhythms. As each cardiac complex is sensed, it is compared to the template cardiac complexes in an effort to identify and classify the sensed cardiac complex. Template cardiac complexes can be representative of a variety of cardiac complexes, including ventricular tachycardias and normal sinus rhythm.

Template cardiac complexes are typically programmed into an implantable medical device shortly before or after the device has been implanted into the patient. Once the implantable medical device has been implanted into the patient, however, the physiologic environment in which cardiac electrodes are placed (i.e., the heart) begins to change. These changes can include an inflammatory response, localized fibrosis around the implanted electrode and cardiac disease progression. These physiological changes lead to a deterioration, or a change in the strength and the morphology of the signal sensed by the implanted medical device. Additionally, changes in a patient's medication regimen can also change the sensing of cardiac signals by the implanted medical device. Therefore, cardiac complex templates developed before or soon after implanting the medical device can become less useful, or reliable, in the process of assessing and classifying unknown cardiac complexes.

Therefore, a need exists for addressing the changes in sensed cardiac signals as the physiological environment surrounding implanted cardiac electrodes changes.

SUMMARY OF THE INVENTION

The present subject matter provides a system and method to verify sensed normal sinus rhythm (NSR) cardiac complexes and to use the NSR cardiac complexes to update a NSR template. The system and method can either function automatically after a selected time interval has expired, or after commands have been delivered by a physician. As a result of updating, cardiac complexes being compared to the NSR template can be classified more accurately than if the cardiac complexes were compared to a NSR template that had not been updated.

Initially, a NSR template is created. In one embodiment, the NSR template is created by an implantable medical device, such as an implantable cardioverter defibrillator, under the control of a patient's attending physician. In creating a NSR template, cardiac complexes are sensed from a patient's heart. Values of one or more cardiac parameters are measured from each of the sensed cardiac complexes. In one embodiment, an implantable cardioverter defibrillator is used to sense cardiac complexes and to measure the values of the cardiac parameters. Cardiac parameters can include, but are not limited to, ventricular and atrial cycle lengths, widths of ventricular depolarizations, atrioventricular conduction times, and R-wave amplitudes.

The values of the cardiac parameters measured from the cardiac complexes are then compared to predetermined ranges for the values of the cardiac parameters for normal sinus rhythm (NSR) complexes. Based on this comparison, the cardiac complexes can be determined to be, or not to be, NSR cardiac complexes. When the cardiac complexes are determined to be NSR complexes, a NSR templates is calculated as a function of these NSR complexes.

After a selected time interval, the NSR template is examined to determine if it continues to accurately reflect the NSR cardiac complexes being sensed from the patient's heart. In one embodiment, values of cardiac parameters are measured from sensed cardiac complexes in a predetermined set of cardiac complexes. The values are then compared to predetermined value ranges. In one embodiment, the predetermined value ranges are individually established and programmed for each of the cardiac parameters. Values for each cardiac parameter measured are then compared to the corresponding predetermined value range established for that particular cardiac parameter.

When the values of the cardiac parameters are found to be within the predetermined value ranges, values for cardiac signal parameter differences are then calculated. The cardiac signal parameter difference values are calculated by taking the difference of the values of the cardiac parameters from each of the sensed cardiac complexes and the values of the cardiac parameters for the NSR template complexes. The values of the cardiac signal parameter differences are then compared to threshold values. In one embodiment, the threshold values for each of the cardiac signal parameter differences are calculated by multiplying a predetermined deviation percentage and each value of the cardiac parameters for the NSR cardiac complexes used to calculate the NSR template.

Based on the comparison, when the values for the cardiac signal parameter differences are found to be greater than the threshold values, the NSR template is updated as a function of the cardiac complexes. Alternatively, when the values for the cardiac signal parameter differences are found to be less than or equal to the threshold values, the NSR template is not updated.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a flow chart illustrating one embodiment of the present subject matter;

FIG. 2 is a flow chart illustrating one embodiment of the present subject matter;

FIG. 3 is a schematic of an implantable medical device; and

FIG. 4 is one embodiment of a block diagram of an implantable medical device according to the present subject matter.

DETAILED DESCRIPTION

In the following detailed description, reference is made to the accompanying drawings which form a part hereof and in which is shown by way of illustration specific embodiments in which the invention can be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice and use the invention, and it is to be understood that other embodiments may be utilized and that electrical, logical, and structural changes may be made without departing from the spirit and scope of the present invention. The following detailed description is, therefore, not to be taken in a limiting sense and the scope of the present invention is defined by the appended claims and their equivalents.

The embodiments illustrated herein are demonstrated in an implantable cardiac defibrillator (ICD), which may include numerous defibrillation, pacing, and pulse generating modes known in the art. However, these embodiments are illustrative of some of the applications of the present system, and are not intended in an exhaustive or exclusive sense. The concepts described herein can be used in a variety of applications which will be readily appreciated by those skilled in the art upon reading and understanding this description. For example, the present system is suitable for implementation in a variety of implantable and external devices.

The present subject matter allows for medical devices to examine and to recalculate or update a cardiac complex template. As previously discussed, medical device systems can use a cardiac complex template to assess and classify sensed cardiac complexes. Based on the classification of cardiac complexes, the medical device system can generate commands to cause the delivery of therapy to a patient's heart.

The physiologic environment in which cardiac electrodes are placed (i.e., the heart) changes from the moment the electrodes are implanted. Changes in the physiologic environment can include an inflammatory response and localized fibrosis around the implanted electrode due to the presence of the implanted electrode. These physiological changes, and other changes in cardiac disease, can lead to deterioration in sensing by the implanted medical device. Additionally, changes in a patient's medication regimen can also change the sensing of cardiac signals by the implanted medical device. Therefore, cardiac complex templates developed soon after implanting the medical device can become less reliable in the process of assessing and classifying unknown cardiac complexes.

The present subject matter allows for cardiac complex templates to be examined and, if certain predetermined conditions are met, to be recalculated. Recalculating cardiac complex templates can occur based on a determination that cardiac signals sensed during a cardiac state for which there is a cardiac complex template are no longer within a predetermined range of acceptability. In one embodiment, recalculation of the cardiac complex template is performed at specific time intervals over the life of the implantable medical device. Alternatively, the cardiac complex template is recalculated, or updated, at the direction of an attending physician when the physician determines the sensed cardiac signals have deviated sufficiently from the cardiac complex template signals.

In one embodiment, the present subject matter is useful for recalculating normal sinus rhythm (NSR) templates or models, such as the NSR template previously discussed. NSR templates are used in systems and methods where morphological features from cardiac signals sensed during a tachycardia event are compared to morphological features for cardiac signals sensed during normal sinus rhythm (e.g., the NSR templates). In one embodiment, procedures that compare values derived from NSR cardiac complexes are referred to as NSR template based procedures. In one embodiment, NSR template based procedures require that the NSR template be calculated, or derived at, from a patient's NSR cardiac complexes. However, as discussed above, as the cardiac tissue surrounding the cardiac leads change (e.g., as the tissue in which the lead is embedded changes) sensing of the cardiac complexes changes. Thus, there is a need for the NSR template to be updated after the medical device has been implanted.

Referring now to FIG. 1, there is shown an embodiment for creating a normal sinus rhythm (NSR) template. The procedure for setting the NSR template is started at 100. In one embodiment, the procedure for setting the NSR template is initiated by the patient's attending physician. Once the procedure is started at 100, values for one or more NSR parameters representative of the patient's normal sinus rhythm are set at 104. In one embodiment, the values of the NSR parameters are set by and programmed into the implantable medical device by the attending physician. In one embodiment, the values of the NSR parameters are based on a patient's previously recorded cardiac data and/or the patient's cardiac history. Alternatively, the values for the NSR parameters are a set of typical values for the NSR parameters.

In one embodiment, the values for the NSR parameters are derived from, but not limited to, the following cardiac parameters: ventricular cycle lengths (e.g., time between consecutively sense R-waves), atrial cycle lengths (e.g., time between consecutively sense P-waves), standard deviation of a plurality of ventricular cycle lengths, standard deviation of a plurality of atrial cycle lengths, width of ventricular depolarizations as manifested in the ventricular electrogram, atrioventricular conduction times, standard deviation of a plurality of atrioventricular conduction times, and standard deviation of a plurality of R-wave amplitudes as manifested in the ventricular electrogram. In one embodiment, the NSR parameters for which values are derived are selected and programmed into the medical device system through the use of a medical device programmer. In addition, the values for the NSR parameters are also programmed into the medical device system through the use of the medical device programmer.

After the values for the NSR parameters are set, these initial values must be checked against the values for the cardiac parameters measured from the patient's NSR cardiac complexes. At 108, one or more cardiac complexes are sensed from cardiac signals sensed from the patient's heart. In one embodiment, the cardiac signals are electrogram signals sensed through the use of the implanted medical device, such as an ICD, and include cardiac complexes representative of at least a portion of the cardiac cycle.

In one embodiment, the cardiac signals are viewed in real time on the display screen of the external medical device programmer. As the cardiac signal scrolls across the display screen, the user can select a series of cardiac complexes which he or she believes to be NSR complexes. The selected cardiac complexes are then tested against the initial values of the NSR parameters. This procedure saves valuable time by allowing only those cardiac complexes believed to be NSR complexes to be checked against the initial cardiac parameter values.

The implanted medical device measures and stores values for the one or more cardiac parameters from each of the sensed cardiac complexes. In one embodiment, the values for the one or more cardiac parameters are taken, or derived, from the cardiac parameters whose values were initially set at 104. At 112, the values of the one or more cardiac parameters are used to determine whether the sensed cardiac complexes are normal sinus rhythm (NSR) complexes. In one embodiment, the values of the one or more cardiac parameters are compared to values of the corresponding NSR parameters. In one embodiment, the values of the NSR parameters are those initially set at 104. In an alternative embodiment, the values of the NSR parameters are values of one or more cardiac parameters acquired during the process of setting the NSR template, an embodiment which will be described in greater detail below.

At 112, if the values of the cardiac signal parameters fall within a predetermined range of the values for the NSR parameters, then the NSR template and the values for the NSR parameters are displayed at 116. In one embodiment, displaying the NSR template and the values of the NSR parameters is done on the screen of the medical device programmer. Alternatively, the NSR template and the values of the NSR parameters are displayed on any suitably enabled display screen from which this information can be viewed.

The NSR template is calculated as a function of sensed NSR cardiac complexes. In one embodiment, after qualified NSR complexes have been identified, a single NSR complex can be formed to represent multiple NSR complexes. This is done by taking a sample by sample median, mean, or other statistic of one through n sensed NSR complexes, where n is an integer value representing the number of sensed NSR complexes. In one embodiment, n is an integer value in the range of 2 to 20 NSR complexes.

As the one through n NSR complexes are sensed, they are aligned around a common feature of the cardiac signal. In one embodiment, the common feature is a maximum deflection point of the cardiac signal as sensed during the occurrence of the ventricular R-wave. Other common features of the cardiac complexes can also be used to align the sensed NSR complexes. Once the NSR complexes have been aligned, median or mean values of the cardiac complexes are used to calculate the NSR template. Once the NSR template has been created from the sample by sample process, values for the NSR features are extracted from the NSR template and stored for use with the present subject matter. In an alternative embodiment, values for NSR features are measured for each of the sensed one through n NSR complexes. Median or mean values for the NSR feature values are calculated and the median or mean values are used to calculate the NSR template.

Once the NSR template and the values for the NSR parameter have been displayed, the attending physician can review the information. At 120, the physician can either approve of or not approve of the NSR template and the values for the NSR parameters proposed for use in the medical device. If the NSR template and the values for the NSR parameters are approved at 120, the NSR template and the values for the NSR parameters are programmed into the medical device system at 124 for subsequent use in discrimination procedures which rely on NSR templates and values of NSR parameters to distinguish one arrhythmic event from another.

If, however, the values of the cardiac signal parameters do not fall within values of the NSR parameters at 112 or the user does not approve of the NSR template and/or the values of the NSR parameters at 120, the system proceeds to 128. At 128, the number of attempts at setting the NSR template is determined. In one embodiment, when 128 is reached a value of one is added to the value of an attempt counter. In one embodiment, a predetermined threshold value is programmed for the attempt counter. In one embodiment, the predetermined threshold value is an integer value programmed in a range of 1 to 10, where 5 is an appropriate number.

When the number of attempts at setting the NSR template exceed the predetermined threshold value of the attempt counter, the range of acceptable values of the NSR parameters are redefined at 132. In one embodiment, redefining the values of the NSR parameters is done by the attending physician at the prompting the medical device programmer. Once redefined values for the NSR parameters are programmed, additional cardiac complexes are obtained at 108 and processed as previously described. Alternatively, if the number of attempts at setting the NSR template has not exceeded the predetermined threshold value of the attempt counter, the values of the NSR parameters are not redefined and additional cardiac complexes are obtained at 108 and processed as previously described.

Once a NSR template has been accepted and programmed into the implantable medical device, it can be used in the medical device system to assess and classify cardiac complexes. However, as the cardiac environment changes due to the presence of the cardiac lead (e.g., as cardiac tissue surrounding the implanted cardiac lead changes) so do the sensed cardiac signals. Changes in sensed cardiac signals necessitate updating the NSR template so that recently sensed cardiac complexes are analyzed with a NSR template that was also recently updated.

In order to determine if the NSR template needs to be updated, it must first be examined and analyzed with respect to NSR cardiac complexes being sensed by the implantable medical device. Referring now to FIG. 2, there is shown one embodiment for examining a NSR template. In one embodiment, the NSR template is examined at a selected time interval after calculating the NSR template. Alternatively, the NSR template is examined at one or more selected time intervals (or times) after determining the NSR template.

At 200, the system determines if the selected time interval has elapsed. In one embodiment, the selected time interval is a programmable value in the range of 1 to 120 days, where 30 days is an appropriate length of time. In an alternative embodiment, the selected time interval can be programmed to become progressively shorter or longer after the medical device has been implanted in the patient. In one embodiment, the medical device system can update the NSR template more frequently early in life of the implantable medical device and become less frequent after a predetermined length of time. For example, the system can use two or more selected time intervals, where a first set of selected time intervals are used to trigger updates sooner than a second set of selected time intervals. In one embodiment, the first set of selected time intervals are used at an early stage after the implant of the medical device. The early stage after a medical device implant is when the physiological changes in the heart caused by the medical device's implant can alter the cardiac signals sensed by the medical device. Because of the degree of change in the sensed signals at this early stage of implant, the medical device may need to update the NSR template more often than when the medical device begins to receive more stable signals at a later date. In one embodiment, the early stages of a medical device implant can be considered to be between 0 and 3 months.

Alternatively, the time and/or date for updating the NSR template can be selected by the physician. In this way, the physician can program an update regimen most appropriate for the type of medical device being implanted into the patient and/or for the type of condition that the medical device will be most likely encounter. Alternatively, the physician can use the medical device programmer to send a signal to the implanted medical device to begin updating the NSR template.

At 200, the elapsed time is checked against the selected time interval to determine if the NSR template is to be updated. When the selected time interval expires, a predetermined set of cardiac complexes are analyzed for the purpose of examining the NSR template. In one embodiment, the cardiac signals are electrogram signals which contain cardiac complexes, or portions of cardiac complexes (e.g., P-waves, QRS-complexes, R-waves, etc.) sensed through the use of a medical device as previously discussed. As the predetermined set of cardiac complexes are sensed at 204, values for the one or more cardiac parameters are measured from each of the sensed cardiac complexes. At 204, the cardiac parameters measured from the sensed cardiac complexes include the cardiac parameters measured to determine the values of the NSR parameters. In one embodiment, the predetermined set of cardiac complexes is a programmable number of cardiac complexes in the range of 5 to 100, 5 to 50 or 5 to 20 cardiac complexes, where 10 cardiac complexes is an appropriate number.

The values of the one or more cardiac parameters measured at 204 are then compared to one or more predetermined value ranges for the cardiac parameters at 208. In one embodiment, the values of the one or more cardiac parameters are compared to the corresponding one or more predetermined value ranges (e.g., values ventricular intervals are compared to a predetermined value range for ventricular intervals, values for atrial intervals are compared to a predetermined value range for atrial intervals, etc.) In one embodiment, the predetermined value ranges used in 208 are value ranges for the cardiac parameters programmed by the patient's attending physician. In an alternative embodiment, the predetermined value ranges are the values of the cardiac parameters which were used to examine and subsequently update the NSR template through the present subject matter shown in FIG. 2.

In one embodiment, the predetermined value ranges represent values for cardiac parameters that are characteristic, or representative, of the patient's normal sinus rhythm. A major goal in examining and updating the NSR template is to ensure that the values of the cardiac parameters used to examine the NSR are from the patient's NSR cardiac complexes. The present system allows for verification that the NSR template update is accomplished with, or based on, cardiac complexes sensed during a patient's NSR and not inadvertently based on cardiac complexes sensed during a ventricular tachycardia, an atrial fibrillation, a sinus tachycardia or any other non-normal sinus rhythm cardiac condition.

At 208, when the values for the one or more cardiac parameters measured from the sensed cardiac signals are within the one or more predetermined value ranges, the system proceeds to 212. At 212, the values of the cardiac parameters from the sensed cardiac signals are compared with the values of cardiac parameters for the NSR complexes used to calculate the NSR template that is now being examined.

In one embodiment, comparing these values is accomplished by first taking differences between the values of the cardiac parameters from each of the sensed cardiac signals and the values of the cardiac parameters for the NSR complexes to give cardiac signal parameter differences. The values of the cardiac signal parameter differences are then compared to one or more threshold values. In one embodiment, the threshold values are percentage deviations from the values of the cardiac parameter for the NSR complexes. The predetermined percentage deviations can be programmed into the medical device, where the exact percentage deviation for each cardiac parameter will be programmed by the physician to a value that is most appropriate for that cardiac parameter. Additionally, percent deviations can also be augmented or replaced by a check to see if the cardiac parameters are within a predetermined range.

After comparing the values of the cardiac parameters at 212, the values of the cardiac signal parameter differences are compared to the threshold values at 216 to determine whether the values of the cardiac signal parameter differences are less than the threshold values. When the values of the cardiac signal parameter differences are greater than the threshold values, the values of the NSR parameters are replaced with the values of the one or more cardiac parameters from the predetermined set of cardiac complexes. The NSR template is then recalculated at 220 as a function of the cardiac complexes of the predetermined set of cardiac complexes. The medical device then records the updated NSR template and the updated values of the NSR parameters for use at 212 in a subsequent examination of the NSR template.

Alternatively, if at 216, the values of the cardiac signal parameter differences are less than or equal to the threshold values, the values of the NSR parameters and the NSR template currently being examined are retained at 224 (i.e, not replaced). After either 220 or 224, the timer for updating the template is reinitiated at 236. Once the timer for updating has been reinitiated, the elapsed time is again checked against the selected time interval at 200 to determine if the NSR template is to be updated.

Referring again to 208, if the values of the cardiac parameters measured from the sensed cardiac signals are not within the predetermined value range, the system proceeds to 228. At 228, the number of times the values of the cardiac parameters have been tested against the predetermined value range system is determined. In one embodiment, when 228 is reached, a value of one (1) is added to an attempt counter value. In one embodiment, the attempt counter value has initial value of zero at the start of the NSR template updating process.

After the one has been added to the value of the attempt counter, the new value of the attempt counter is compared to a predetermined threshold value at 228. In one embodiment, the predetermined threshold value is a programmable value of the number of attempts to be made at determining whether the cardiac parameter values measured from the sensed cardiac signals are within the predetermined value range at 208. In one embodiment, the predetermined threshold value is an integer value programmed in a range of 1 to 10, where 5 is an appropriate number.

When the number of attempts at updating the NSR template and the values of the cardiac parameters exceeds the value of the attempt counter, the NSR template and the values of the cardiac parameters are retained (i.e., not changed) and the attempt to update the NSR template and the cardiac signal parameter is recorded in the medical device system at 232. In one embodiment, a record of all successful and unsuccessful NSR template updates is stored and can be displayed at follow-up visits for diagnostic purposes.

After recording the attempt at updating the NSR template, the timer for updating the template is reinitiated at 236. Once the timer for updating has been reinitiated, the elapsed time is again checked against the selected time interval at 200 to determine if the NSR template is to be updated. In addition to reinitiating the update timer, the attempt number for 228 is reset to zero.

Alternatively, when the number of attempts at updating the NSR template and the values of the cardiac parameters do not exceed the value of the attempt counter, additional cardiac parameters are measured from sensed cardiac complexes at 204. The cardiac parameter values determined at 204 are then compared to the predetermined value ranges for the cardiac parameters as previously described.

The present subject matter is useful with any number of external or implantable medical device systems which use NSR templates in analyzing, or assessing, a patient's cardiac condition. In one embodiment, cardiac complexes are sensed and analyzed using an implantable medical device, where the implantable medical device includes a transvenous lead system to allow sensing of the cardiac action potentials. The transvenous lead system can include a rate-sensing electrode and at least one defibrillation electrode positioned on the transvenous lead. Cardiac action potentials sensed using defibrillation electrodes are typically referred to as far-field signals (or morphology signals) and cardiac action potentials sensed using rate sensing, or pacing, electrodes are typically referred to as near-field signals (or rate signals).

In one embodiment, the rate-sensing electrode is a pacing tip electrode positioned at the distal end of the transvenous lead system. Other types of rate sensing electrodes are also considered appropriate to use with the present subject matter. Examples of other types of rate sensing electrodes include ring electrodes, both annular and semi-annular, as are known in the art. Rate sensing using the transvenous lead system can also be accomplished either through unipolar or bipolar sensing methods, as are known.

In one embodiment, the implantable medical device system can employs an single body lead catheter sold under the trademark ENDOTAK (Cardiac Pacemaker, Inc./Guidant Corporation, St. Paul, Minn.) having a pacing tip electrode and two defibrillation coil electrodes. One example of such a system is shown in FIG. 3. An implantable cardioverter defibrillator (ICD) 300 is coupled to catheter 310, which is implanted to receive signals from heart 320. The catheter 310 also may be used for transmission of pacing and/or defibrillation signals to the heart 320. In an alternative embodiment, a three defibrillation electrode system is employed, wherein the housing of the implantable system is used as a third defibrillation electrode.

In one example, the ICD 300 senses cardiac signals from the heart 320. When the ICD 300 detects the occurrence of an arrhythmic event, the ICD 300 analyzes the sensed arrhythmic complexes (i.e., the cardiac signals) of the arrhythmic event. In one embodiment, the ICD analyzes and compares the sensed arrhythmic complexes with respect to the NSR template to assess the origin of a cardiac arrhythmia (e.g., determining a ventricular tachycardia (VT) versus a supraventricular tachycardia (SVT). Based on the comparison, the ICD 300 is able to distinguish SVT events from VT events and, depending upon the ICD's classification of the arrhythmic event, to provide appropriate therapy to treat the heart 320. Some methods useful for distinguishing SVT events from VT events are presented in U.S. Pat. No. 6,223,078, entitled “Discrimination of Supraventricular Tachycardia and Ventricular Tachycardia Events”, the specification of which is hereby incorporated by reference in its entirety.

Referring now to FIG. 4, there is shown one embodiment of an implantable cardiac defibrillator (ICD) 400, which may include numerous defibrillation, pacing, and pulse generating modes known in the art. An endocardial lead is physically and electrically coupled to the ICD 400. The endocardial lead can include at least one pacing electrode and at least one defibrillation coil electrode as are known. In one embodiment, the endocardial lead is an ENDOTAK lead as previously described.

FIG. 4 discloses ICD 400 which includes input circuitry 410. In one embodiment, input circuitry 410 includes a first amp 412 and a second amp 414. The first amp 412 receives rate-signals or near-field signals through the at least one pacing electrode. In one embodiment, the rate-signals are sensed using a unipolar configuration, where the cardiac signals are sensed between the at least one pacing electrode and the housing 416 of the ICD 400. Alternatively, bipolar sensing is accomplished between two or more pacing electrodes on one or more endocardial leads. The second amp 414 receives morphology-signals, or far-field signals, from at least two defibrillation coil electrodes located on the endocardial lead.

An R-wave detector circuit 420 receives the rate-signals from the first amp 412. The R-wave detector circuit 420 detects R-waves from the rate-signals being received by the first amp 412 and conveys information relating to the cardiac rate to a microprocessor 424 by a data bus 426. A morphology analyzer circuit 430 receives morphology signals from the second amp 414. In one embodiment, the morphology analyzer circuit 430 extracts and measures the values of the cardiac parameters from the sensed cardiac complexes. A template generating circuit 434 is coupled to the signal morphology analyzing circuit 430 by the bus 426. The template generating circuit 434 receives the values of the cardiac parameters. In one embodiment, the template generating circuit 434 calculates, or updates, the NSR template as a function of the sensed NSR cardiac complexes.

A template comparison circuit 440 is coupled to the template circuit 434 by bus 426. In one embodiment, the template comparison circuit 440 compares the values of the cardiac parameters to the predetermined value ranges for the cardiac parameters. When the values of the cardiac parameters are within the predetermined value ranges the template comparison circuit 440 compares the values of the cardiac parameters from the sensed cardiac signals with the values for the cardiac parameters of the NSR cardiac complexes used to determine the NSR template. As previously discussed, the cardiac signal parameter differences between the values of the cardiac parameters and the values of the cardiac parameters used to determine the NSR template are compared to corresponding threshold values. In one embodiment, the template comparison circuit 440 calculates the threshold values by multiplying a predetermined deviation percentage and the values of the cardiac parameters for the NSR cardiac complexes used to calculate the NSR template.

After comparing the cardiac signal parameters, the template comparison circuit 440 compares the values of the cardiac signal parameters differences to the threshold values to determine whether the values of the cardiac signal parameter differences are less than the threshold values. When the values of the cardiac signal parameter differences are greater than the threshold values, the template generating circuit 434 recalculated, or update, the NSR template as a function of the sensed cardiac complexes. In an additional embodiment, the template comparison circuit 440 determines the number of times the values of the cardiac parameters have been tested against the predetermined value range system, and increases the value of the attempt counter during each attempt to update the NSR template.

Power to operate the ICD 400 is supplied by a battery 448. Memory 450 is also provided in the ICD 400, and is connected with the microprocessor 424. In one embodiment, the values of the cardiac signal parameters used to redefine the NSR template are recorded in a memory circuit 450 of the ICD 400. Additionally, the attempts made to update the NSR template and the cardiac signal parameter are also stored in the memory 450 of the ICD 400. The ICD 400 further includes a transmitter receiver 454, which can be used to communicate with the microprocessor 424 through a programmer 460 as is known.

The embodiments provided herein are intended to demonstrate only some of the embodiments of the present system. Other embodiments utilizing the present subject matter are can be appreciated by those skilled in the art. For example, the concepts of the present subject matter are expressly described in terms of cardiac complexes sensed for the QRS-wave of the heart, however, applications to other cardiac complexes, including P-wave complexes or a combination of QRS-wave and P-wave complexes, can be readily appreciated by those skilled in the art without departing from the present invention.

Also, a dual chamber implantable cardiac defibrillator can be used to take advantage of the present subject matter. In one embodiment, the dual chamber implantable cardiac defibrillator includes an ENDOTAK single body lead catheter implanted in the ventricular region of the heart and an atrial catheter implanted in a supraventricular region of the heart. This embodiment allows for ventricular near-field signals and ventricular far-field signals, along with atrial near-field signals to be sensed and analyzed by the implantable cardiac defibrillator.

Other cardiac defibrillator systems and catheter configurations may also be used without departing from the present system. In addition to ICD systems, the present system may be utilized in external defibrillation systems and in external cardiac monitoring systems. In addition to employing endocardial leads, the present system can also utilize body surface leads.

Additionally, even though NSR templates were discussed herein, other templates, including templates for specific cardiac complexes and arrhythmic cardiac events, can also be recorded, analyzed, and up-dated using the inventive concepts embodied in the present subject matter, and therefore, the express teachings of this disclosure are not intended in an exclusive or limiting sense. 

1. A method, comprising: comparing one or more sensed cardiac complex parameter values to one or more reference cardiac complex parameter values for a cardiac complex template; determining whether the one or more sensed cardiac complex parameter values and the one or more reference cardiac complex parameter values have differences greater than a threshold; and updating the cardiac complex template upon determining that the one or more sensed cardiac complex parameter values and the one or more reference cardiac complex parameter values have differences that are greater than the threshold.
 2. The method of claim 1, wherein the cardiac complex template includes a normal sinus rhythm (NSR) template.
 3. The method of claim 1, wherein the cardiac complex template includes an arrhythmia template.
 4. The method of claim 1, wherein updating the cardiac complex template includes waiting for a programmed time interval to expire before updating the cardiac complex template.
 5. The method of claim 4, further comprising programming at least two different time intervals, wherein updating the cardiac complex template includes using one programmed time intervals to update the cardiac complex template at a first time, and then using another one of the programmed time intervals to update the cardiac complex template at a second time.
 6. The method of claim 1, further comprising retaining the cardiac complex template upon determining that the one or more sensed cardiac complex parameter values and the one or more predetermined cardiac complex parameter values do not have differences that are greater than the threshold.
 7. The method of claim 1, further comprising verifying that the one or more sensed cardiac complex parameter values are within one or more ranges of acceptable values for the cardiac complex template, wherein the one or more sensed cardiac complex parameter values are compared to one or more reference cardiac complex parameter values upon determining that the one or more sensed cardiac complex parameter values are within the one or more ranges of acceptable values.
 8. The method of claim 7, further comprising: upon determining that the one or more sensed cardiac complex parameter values are not within the one or more ranges of acceptable values, determining whether a maximum number of attempts has been made to evaluate the one or more sensed cardiac complex parameter values; and upon determining that the maximum number of attempts has been made, retaining the cardiac complex template.
 9. The method of claim 1, further comprising waiting a selected time period before comparing the one or more sensed cardiac complex parameter values to one or more reference cardiac complex parameter values and determining whether the one or more sensed cardiac complex parameter values and the one or more reference cardiac complex parameter values have differences greater than a threshold.
 10. The method of claim 9, wherein comparing one or more sensed cardiac complex parameter values to one or more reference cardiac complex parameter values and determining whether the one or more sensed cardiac complex parameter values and the one or more reference cardiac complex parameter values have differences greater than a threshold are automatically performed after the selected time period.
 11. The method of claim 1, wherein comparing one or more sensed cardiac complex parameter values and determining whether the one or more sensed cardiac complex parameter values and the one or more reference cardiac complex parameter values have differences greater than a threshold are performed after receiving a physician-initiated command.
 12. The method of claim 1, wherein comparing one or more sensed cardiac complex parameter values to one or more reference cardiac complex parameter values includes comparing one or more sensed cardiac complex parameter values to one or more physician-programmed values.
 13. The method of claim 1, wherein comparing one or more sensed cardiac complex parameter values to one or more reference cardiac complex parameter values includes comparing one or more sensed cardiac complex parameter values to one or more values derived from a current cardiac complex template.
 14. The method of claim 1, further comprising creating an initial cardiac complex template and updating the initial cardiac complex template when the sensed cardiac complex parameter values and the reference cardiac complex parameter values have differences that are greater than the threshold.
 15. The method of claim 14, wherein creating an initial cardiac complex template includes: determining whether one or more sensed cardiac complex parameter values are within one or more ranges of acceptable values for the initial cardiac complex template; and setting the initial cardiac complex template based on the one or more sensed cardiac complex parameter values.
 16. The method of claim 15, further comprising displaying a proposed cardiac complex template, and determining whether the proposed cardiac complex template is approved prior to setting the initial cardiac complex template.
 17. The method of claim 15, further comprising: upon determining that the one or more sensed cardiac complex parameter values are not within one or more ranges of acceptable values, determining whether a maximum number of attempts has been made to evaluate the one or more sensed cardiac complex parameter values; and upon determining that a maximum number of attempts has been made, redefining one or more ranges of acceptable values.
 18. The method of claim 1, wherein updating a cardiac complex template comprises setting an updated cardiac complex template based on the sensed cardiac complex parameter values.
 19. The method of claim 18, further comprising displaying a proposed cardiac complex template, and determining whether the proposed cardiac complex template is approved prior to setting the updated cardiac complex template.
 20. The method of claim 1, further comprising recording cardiac data for a patient, and determining the reference cardiac complex parameter values using the previously-recorded cardiac data.
 21. The method of claim 1, further comprising determining the reference cardiac complex parameter values using a patient's cardiac history.
 22. The method of claim 1, further comprising determining the reference cardiac complex parameter values using typical cardiac complex parameter values. 